﻿<%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_agqn2yz7" %>

<%@ Register Assembly="FlashControl" Namespace="Bewise.Web.UI.WebControls" TagPrefix="Bewise" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="Default.css" rel="stylesheet" type="text/css" />

</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
         <script type="text/javascript">
        var styleToSelect;
        function onOk() {
            $get('Paragraph1').className = styleToSelect;
        }
        
        // Add click handlers for buttons to show and hide modal popup on pageLoad
        function pageLoad() {
           $addHandler($get("hideModalPopupViaClientButton"), 'click', hideModalPopupViaClient);        
        }
        
                
        function hideModalPopupViaClient(ev) {
            ev.preventDefault();        
            var modalPopupBehavior = $find('programmaticModalPopupBehavior');
            modalPopupBehavior.hide();
        }
    </script>
 
        <div>
            <asp:Table ID="Table1" runat="server" Width="100%" CellPadding="4" BorderColor="green" BorderStyle="Outset">
                <asp:TableRow runat="server">
                    <asp:TableCell runat="server" CssClass="HeaderStyle">AXIS</asp:TableCell>
                    <asp:TableCell runat="server"  CssClass="HeaderStyle">P wave <span class="smallFont">(Atrial depolarization)</span></asp:TableCell>
                    <asp:TableCell runat="server"  CssClass="HeaderStyle">QRS <span class="smallFont">(Ventricular depolarization)</span></asp:TableCell>
                    <asp:TableCell runat="server"  CssClass="HeaderStyle">Q-T <span class="smallFont">(ventricular depolarization and repolarization)</span><br />
                                                 S-T <span class="smallFont">(Ventricular repolarization)</span></asp:TableCell>
                    <asp:TableCell runat="server"  CssClass="HeaderStyle">T wave <br /><span class="smallFont">(ventricular repolarization)</span></asp:TableCell>
                </asp:TableRow>
                <asp:TableRow runat="server">
                    <asp:TableCell runat="server" CssClass="cellOne">
                    <asp:Label ID="Label1" runat="server" Text="Label" CssClass="label1"> Lead I</asp:Label>
                       
                        &nbsp; &nbsp;&nbsp;
                        <asp:RadioButtonList id="lstLeadI" runat="server"  RepeatDirection="Horizontal" Width="83px">
                            <asp:ListItem Selected="True">+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList>
                        <br />
                      <asp:Label ID="Label2" runat="server" Text="Label" CssClass="label1"> Lead II</asp:Label>
                        
                        <asp:RadioButtonList id="lstLeadII" runat="server"  RepeatDirection="Horizontal" Width="84px">
                            <asp:ListItem Selected="True">+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList>                
                          <br />
                      <asp:Label ID="Label3" runat="server" Text="Label" CssClass="label1">aVF</asp:Label>
                      
                        
                        <asp:RadioButtonList id="lstAVF" runat="server"  RepeatDirection="Horizontal" Width="83px">
                            <asp:ListItem Selected="True">+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList>
                    </asp:TableCell>
                    <asp:TableCell runat="server"  CssClass="cellTwo">
                      <asp:Label ID="Label4" runat="server" Text="Label" CssClass="label1">Height (Lead II)</asp:Label>
                        <asp:TextBox ID="Slider1" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender1" runat="server"
                        BehaviorID="Slider1"
                        TargetControlID="Slider1"
                        BoundControlID="lblSlider1"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="1"
                        Minimum="-3"
                        Maximum="3"
                        Steps="13"   />&nbsp;&nbsp;<asp:Label ID="lblSlider1" runat="server" Text=""></asp:Label>&nbsp;mm
                        <br /><br />
                      <asp:Label ID="Label5" runat="server" Text="Label" CssClass="label1">Duaration (Lead II)</asp:Label>
                         
                        <asp:TextBox ID="Slider2" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender2" runat="server"
                        BehaviorID="Slider2"
                        TargetControlID="Slider2"
                        BoundControlID="lblSlider2"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="20"
                        Maximum="160"
                        Steps="8"   />&nbsp;&nbsp;<asp:Label ID="lblSlider2" runat="server" Text=""></asp:Label>&nbsp;ms
                        
                        <br /><br />
                      <asp:Label ID="Label6" runat="server" Text="Label" CssClass="label1">P Followed by QRS</asp:Label>
                        
                        <asp:RadioButtonList id="rbPqrs" runat="server"  RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True">Yes</asp:ListItem>
                            <asp:ListItem>No</asp:ListItem>
                         </asp:RadioButtonList>  
                         <br /><br />
                      <asp:Label ID="Label7" runat="server" Text="Label" CssClass="label1">Atrial bits in 4 seconds (20 big squares)</asp:Label>
                        <asp:TextBox ID="Slider3" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender3" runat="server"
                        BehaviorID="Slider3"
                        TargetControlID="Slider3"
                        BoundControlID="lblSlider3"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="2"
                        Maximum="16"
                        Steps="14"   />&nbsp;&nbsp;<asp:Label ID="lblSlider3" runat="server" Text=""></asp:Label>
                         <br /><br />
                      <asp:Label ID="Label8" runat="server" Text="Label" CssClass="label1">P-R Interval</asp:Label>
                        
                        
                        <asp:TextBox ID="Slider4" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender4" runat="server"
                        BehaviorID="Slider4"
                        TargetControlID="Slider4"
                        BoundControlID="lblSlider4"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="80"
                        Maximum="220"
                        Steps="8"   />&nbsp;&nbsp;<asp:Label ID="lblSlider4" runat="server" Text=""></asp:Label>&nbsp;ms
                 
                        
                   </asp:TableCell>
                   <asp:TableCell  CssClass="cellOne">
                      <asp:Label ID="Label9" runat="server" Text="Label" CssClass="label1">Duration (ms)</asp:Label>
                   
                   <asp:TextBox ID="Slider5" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender5" runat="server"
                        BehaviorID="Slider5"
                        TargetControlID="Slider5"
                        BoundControlID="lblSlider5"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="40"
                        Maximum="220"
                        Steps="10"   />&nbsp;&nbsp;<asp:Label ID="lblSlider5" runat="server" Text=""></asp:Label>&nbsp;ms
                  <br /><br />
                   <asp:Label ID="Label16" runat="server" Text="Label" CssClass="label1">Q Wave duration(ms):</asp:Label>
                        <hr  />
                        <asp:Label ID="Label18" runat="server" Text="Label" CssClass="label2">Lead II:</asp:Label>                   
                        <asp:TextBox ID="SliderQII" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderQIIExtender" runat="server"
                        BehaviorID="SliderQII"
                        TargetControlID="SliderQII"
                        BoundControlID="lblSlideQII"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="0"
                        Maximum="120"
                        Steps="7"   />&nbsp;&nbsp;<asp:Label ID="lblSlideQII" runat="server" Text=""></asp:Label>
                        <br />
                        <asp:Label ID="Label17" runat="server" Text="Label" CssClass="label2">Lead III:</asp:Label>                   
                        <asp:TextBox ID="SliderQIII" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderQIIIExtender" runat="server"
                        BehaviorID="SliderQIII"
                        TargetControlID="SliderQIII"
                        BoundControlID="lblSlideQIII"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                         Decimals="0"
                        Minimum="0"
                        Maximum="120"
                        Steps="7"   />&nbsp;&nbsp;<asp:Label ID="lblSlideQIII" runat="server" Text=""></asp:Label>
                        <br />
                        <asp:Label ID="Label19" runat="server" Text="Label" CssClass="label2">Lead aVF:</asp:Label>                   
                        <asp:TextBox ID="SliderQavf" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderQavfExtender" runat="server"
                        BehaviorID="SliderQavf"
                        TargetControlID="SliderQavf"
                        BoundControlID="lblSliderQavf"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                         Decimals="0"
                        Minimum="0"
                        Maximum="120"
                        Steps="7"   />&nbsp;&nbsp;<asp:Label ID="lblSliderQavf" runat="server" Text=""></asp:Label>
                        <br />
                        
                        <hr />
                   <br /><br />     
                        
                  <asp:Label ID="Label10" runat="server" Text="Label" CssClass="label1">Ventricular bits in 4 seconds (20 big squares)</asp:Label>
                        
                        <asp:TextBox ID="Slider6" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender6" runat="server"
                        BehaviorID="Slider6"
                        TargetControlID="Slider6"
                        BoundControlID="lblSlider6"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="2"
                        Maximum="16"
                        Steps="14"  />&nbsp;&nbsp;<asp:Label ID="lblSlider6" runat="server" Text=""></asp:Label>
                         
                        
                   </asp:TableCell>
                   <asp:TableCell  CssClass="cellTwo">
                  <asp:Label ID="Label11" runat="server" Text="Label" CssClass="label1">Preceeding R-R interval Duration (ms)</asp:Label>
                   
                   <asp:TextBox ID="Slider7" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender7" runat="server"
                        BehaviorID="Slider7"
                        TargetControlID="Slider7"
                        BoundControlID="lblSlider7"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="200"
                        Maximum="800"
                        Steps="16"   />&nbsp;&nbsp;<asp:Label ID="lblSlider7" runat="server" Text=""></asp:Label>&nbsp;ms
                  <br /><br />
                  <asp:Label ID="Label12" runat="server" Text="Label" CssClass="label1">Q-T Duration (ms)</asp:Label>
                    
                   <asp:TextBox ID="Slider8" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender8" runat="server"
                        BehaviorID="Slider8"
                        TargetControlID="Slider8"
                        BoundControlID="lblSlider8"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="300"
                        Maximum="500"
                        Steps="11"   />&nbsp;&nbsp;<asp:Label ID="lblSlider8" runat="server" Text=""></asp:Label>&nbsp;ms
                  <br /><br />
                  <asp:Label ID="Label13" runat="server" Text="Label" CssClass="label1">ST relative to baseline:</asp:Label>
                   
                    <asp:RadioButtonList id="rbST" runat="server"  RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True">=</asp:ListItem>
                            <asp:ListItem>+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList>                
                          <br />
                   </asp:TableCell>
                    <asp:TableCell  CssClass="cellOne">
                  <asp:Label ID="Label14" runat="server" Text="Label" CssClass="label1">I-II</asp:Label>
                  
                   <asp:RadioButtonList id="tWaveII" runat="server"  RepeatDirection="Horizontal">
                            <asp:ListItem  Selected="True">+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList>   
                        <asp:TextBox ID="tWaveHeigtLimbLeads" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender9" runat="server"
                        BehaviorID="tWaveHeigtLimbLeads"
                        TargetControlID="tWaveHeigtLimbLeads"
                        BoundControlID="lbltWaveHeigt"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="-20"
                        Maximum="20"
                        Steps="40"   />&nbsp;&nbsp;Height&nbsp;&nbsp;:&nbsp;&nbsp;<asp:Label ID="lbltWaveHeigt" runat="server" Text=""></asp:Label>&nbsp;mm
                        <br /><br /><br />
                          
                  <asp:Label ID="Label15" runat="server" Text="Label" CssClass="label1">V3 to V6</asp:Label>
                  
                   <asp:RadioButtonList id="tWaveV3V6" runat="server"  RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True">+</asp:ListItem>
                            <asp:ListItem>-</asp:ListItem>
                         </asp:RadioButtonList> 
                        <asp:TextBox ID="tWaveHeightV" runat="server"></asp:TextBox>
                        <cc1:SliderExtender ID="SliderExtender10" runat="server"
                        BehaviorID="tWaveHeightV"
                        TargetControlID="tWaveHeightV"
                        BoundControlID="lblttWaveHeightV"
                        Orientation="Horizontal"
                        EnableHandleAnimation="true"
                        TooltipText="{0}"
                        Decimals="0"
                        Minimum="-20"
                        Maximum="20"
                        Steps="40"   />&nbsp;&nbsp;Height&nbsp;&nbsp;:&nbsp;&nbsp;<asp:Label ID="lblttWaveHeightV" runat="server" Text=""></asp:Label>&nbsp;mm
                        <br /><br />
                    <asp:Label ID="Label20" runat="server" Text="Label" CssClass="label1">aVR</asp:Label>                  
                   <asp:RadioButtonList id="tWaveAVR" runat="server"  RepeatDirection="Horizontal">
                            <asp:ListItem>+</asp:ListItem>
                            <asp:ListItem Selected="True">-</asp:ListItem>
                         </asp:RadioButtonList> 
                   </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ColumnSpan="5" HorizontalAlign="Center" CssClass="footer"><asp:Button ID="__Button1" runat="server" Text="Submit" />
                    </asp:TableCell>                
                </asp:TableRow>
            </asp:Table>
            
            
            <asp:Button runat="server" ID="hiddenTargetControlForModalPopup" style="display:none"/>
            <cc1:ModalPopupExtender runat="server" ID="programmaticModalPopup"
            BehaviorID="programmaticModalPopupBehavior"
            TargetControlID="hiddenTargetControlForModalPopup"
            PopupControlID="programmaticPopup" 
            BackgroundCssClass="modalBackground"
            DropShadow="True"
            PopupDragHandleControlID="programmaticPopupDragHandle"
            >
        </cc1:ModalPopupExtender>
        <asp:Panel runat="server" CssClass="modalPopup" ID="programmaticPopup" style="display:none;width:710px;padding:10px">
            <asp:Panel runat="Server" ID="programmaticPopupDragHandle" Style="cursor: move;background-color:#DDDDDD;border:solid 1px Gray;color:Black;text-align:center;">
                Results
            </asp:Panel>
            <asp:TextBox ID="__txtResults" runat="server" Rows="6" TextMode="MultiLine" Width="700px" Height="500px"></asp:TextBox>
           <br />
           <a id="hideModalPopupViaClientButton" href="#"> <<<< CLOSE >>>></a>.
           
        </asp:Panel>
             <div id="info" runat="server">
            <asp:Table ID="Table2" runat="server" Width="100%">
             <asp:TableRow ID="TableRow2" runat="server">
                    <asp:TableCell ID="TableCell3" runat="server" VerticalAlign="Top">
                        <span class="label1">Time</span>
                      <asp:BulletedList ID="BulletedList3" runat="server">
                            <asp:ListItem>1 small square = 0.04 sec = 40 ms</asp:ListItem>
                            <asp:ListItem>5 small squares = 1 big square = 0.2 sec = 200 ms </asp:ListItem>
                            <asp:ListItem>5 big squares = 1 sec = 1000 ms</asp:ListItem>                            
                        </asp:BulletedList>  <br /><br /> <br /><br />                     
                           <span class="label1">Voltage</span>                
                        <asp:BulletedList ID="BulletedList4" runat="server">
                            <asp:ListItem>1 small square = 0.1 mV = 1mm</asp:ListItem>
                            <asp:ListItem>1 big square = 0.5mV = 5mm</asp:ListItem>
                            <asp:ListItem>2 big squares = 1.0 mV = 10mm</asp:ListItem>
                        </asp:BulletedList>                                               
                   </asp:TableCell>
                
                   
                     <asp:TableCell VerticalAlign="Top">
                         <IMG SRC="images/leads.jpg" />
                         <br /><br /><br />
                         <span class="label1">Myocardial Infarction</span><br />
                         <span class="label2">     Acute</span>
                         <br />
                         ST elevation II,III,aVF (Inferior)
                         <br />
                         ST elevation V1-V6,I,aVL (Anterior)
                         <br />
                         <span class="label2">     Old</span>
                         <br />
                         Tall Q wave III,aVF and Q wave II (Inferior)
                         <br />
                         <br />                      
                         
                     </asp:TableCell>
                      <asp:TableCell VerticalAlign="Top" HorizontalAlign="Right">
                       <Bewise:FlashControl ID="FlashControl1" runat="server" Visible="true" 
                        MovieUrl="images/Shockwave.swf" Play="true" Loop="true" Width="400" Height="400" />
                       </asp:TableCell>
                   </asp:TableRow>
            </asp:Table>
            </div>
            </div>
    </form>
</body>
</html>
